find the intervals of concavity from the second derivative graph